/** 共用* */
//表单提交
function doSubmit(i) {
    document.forms[i].submit();
    return false;
}

function createBox(html) {
    html = '<div class="span6">' + html + '</div>';
    $.fancybox(html, {
        'autoDimensions':false,
        'width':'auto',
        'height':'auto',
        closeClick:false
    });
}

function closeBox() {
    $.fancybox.close();
}